package com.garrett.demo.sys.service;

import com.garrett.demo.sys.entity.Account;
import com.garrett.demo.sys.entity.SimsStudent;

public interface AccountService {

    /**
     * 验证信息
     * @param account 账户名
     * @param password 密码
     * @return 用户信息
     */
    SimsStudent checkLogin(String account, String password);


    void createAccount(Object... obj);

    void deleteAccount(String account);

    Account[] getAllAccounts();

    SimsStudent[] getAllStudents();

    SimsStudent getStudentById(String stuId);

    void modify(Object... obj);


    boolean verifyStuId(String account);

    boolean verifyPassword(String password1, String password2);

    boolean verifyIdCard(String idCard);

    boolean verifyPhone(String phone);

    boolean verifyGender(String gender, String idCard);

    boolean verifyEmail(String email);

}
